package com.fudan.adse.domain.po;

import java.io.Serializable;
import java.util.Date;

/**
 * @desc mbg自动生成film_row_piece表实体类
 * @date 2022-11-26 03:35
 */
public class FilmRowPiece implements Serializable {
    private Integer id;

    /**
     * 影院 id
     *
     * @mbg.generated
     */
    private Integer cinemaId;

    /**
     * 影厅号
     *
     * @mbg.generated
     */
    private Integer roomId;

    /**
     * 影片 id
     *
     * @mbg.generated
     */
    private Integer filmId;

    /**
     * 放映时间
     *
     * @mbg.generated
     */
    private Date startTime;

    private Date endTime;

    /**
     * 票价
     *
     * @mbg.generated
     */
    private Double price;

    /**
     * 剩余容量
     *
     * @mbg.generated
     */
    private Integer remainCapacity;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getRemainCapacity() {
        return remainCapacity;
    }

    public void setRemainCapacity(Integer remainCapacity) {
        this.remainCapacity = remainCapacity;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cinemaId=").append(cinemaId);
        sb.append(", roomId=").append(roomId);
        sb.append(", filmId=").append(filmId);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", price=").append(price);
        sb.append(", remainCapacity=").append(remainCapacity);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}